<div class="print-main">
<!-- a4纸张 -->
<div class="print-warp a4">
	<div id="printContent">
	<div class="print-content">
    
    <div id="order-table">
    	<link rel="stylesheet" type="text/css" href="{{ getAssets }}lodop/print.css">	
        <div class="print-panel mb0" style="border:0px;">
        <div class="buyer-goods-info">
            <table class="table">
                <thead>
                    <tr>
                      <th colspan="8">
                      	<div class="top">
                            <div class="logo"></div>
                            <div class="title"><h3>{{.title}} 清单</h3></div>
                            <!--<img src="http://dsc.websc.la/admin/images/print/seal-state-express.png" class="seal" style="width:120px; height:120px; right:30px; top:12px;">-->
                        </div>
                        <div class="buyer-info">
                            <div class="row">
                                <div class="lie w200">单据编号：{{.m.Number}}</div>
                                <div class="lie w200">制单人：{{.m.CreatedBy}}</div>
                                <div class="lie w200">制单时间：{{getDate .m.CreatedAt}}</div>
                                <div class="lie w200">入库数量：{{.m.ProNumber}}</div>
                                <div class="lie w200">总金额：<em>¥</em>{{.m.Money}}</div>
                            </div>
                        </div>
                      </th>
                    </tr>
                    <tr>
                    	<th>序号</th>
                        <th>商品编号</th>
                        <th>商品名称</th>
                        <th>屈/散</th>
                        <th>型/色</th>
                        <th>数量</th>
                        <th>单价</th>
                        <th>小计</th>
                    </tr>
                </thead>
                <tbody>
                    {{range $k,$v := .m.ErpEntryData}}
                    <tr>
                    	<td class="indexs">序号</td>
                        <td>{{$v.Products.Identifier}}</td>
                        <td class="p-name">{{$v.Products.Name}}</td>
                        <td>{{$v.Diopter}}/{{$v.Astigmatism}}</td>
                        <td>{{$v.ModelNumber}}/{{$v.ColourNumber}}</td>
                        <td>{{$v.Amount}}</td>
                        <td>{{$v.UnitPrice}}</td>
                        <td>{{$v.SmallPlan}}</td>
                    </tr>
                    {{end}}	
                </tbody>
               
                <tfoot>
                  <tr>
                    <TD></TD>
                    <TD><b>本页动态合计</b></TD>
                    <TD><b>&nbsp;</b></TD>
                    <TD tdata="pageNO" format="#" align="left"><p align="center"><b>第<font color="#0000FF">#</font>页</b></p></TD>
                    <TD tdata="pageCount" format="#" align="left"><p align="center"><b>总<font color="#0000FF">##</font>页</b></TD>    
                    <TD width="14%" align="right">　</TD>
                    <TD ><b>&nbsp;</b></TD>
                    <TD width="19%" tdata="subSum" format="#,##0.00" align="right"><font color="#0000FF">###</font></TD> 
                    
                 </tr>
               </tfoot>
                
            </table>
        </div>
        
        </div>
    </div>    
</div>
</div>
	<div class="print-handle">
    <div class="print-btn"><a href="javascript:void(0);" ectype="btnPreview"><i class="am-icon-eye"></i> 预览</a></div>
    <div class="print-btn"><a href="javascript:void(0);" ectype="btnPrint"><i class="am-icon-print"></i> 打印</a></div>
	
	<div class="tip">
		<div class="title">
			<h1>A4</h1>
			<em>Size: 210mm x 297mm</em>
		</div>
		<div class="desc"></div>
	</div>
</div></div>
</div>
<input type="hidden" name="width" value="210">
<input type="hidden" name="height" value="297">
